@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 0;
}

.w50p {
  width: 50% !important;
}

.w90p {
  width: 90% !important;
}

.w100p {
  width: 100% !important;
}

.h50p {
  height: 50% !important;
}

.h100p {
  height: 100% !important;
}

.disable {
  color: #f56c6c;
}

.warning {
  color: #f5a004;
}

.primary {
  color: #409eff;
}

.success {
  color: #67c23a;
}

.danger {
  color: #f56c6c;
}

.pointer {
  cursor: pointer;
}

.grey {
  color: #999999;
}

.imageBg {
  background: #f5f7fa !important;
  border-radius: 50%;
  border: 1px solid #ececec;
  overflow: hidden;
  margin: 0 auto;
  width: 80px;
  height: 80px;
  display: flex;
}

.bannerBg {
  width: 160px;
  height: 80px;
  border-radius: 10px;
}

.toPage {
  font-size: 18px;
  margin-left: 10px;
  line-height: 32px;
  color: #acacac;
  cursor: pointer;
}

.noToPage {
  cursor: default;
}

.imageTable {
  display: flex;
}

.hiddenLabel {
  margin-top: 18px !important;

  .el-form-item__content {
    margin-left: 0 !important;
  }
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
  width: 12px;
  /* 滚动条宽度 */
}

::-webkit-scrollbar-track {
  // background: #ffffff;
  /* 滚动条轨道背景颜色 */
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  /* 内阴影效果 */
  border-radius: 6px;
  // border: 1px solid #5889bb6b;
  cursor: pointer;
}


::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #80b8e6, #6a99c0);
  border: 1px solid #5889bb;
  border-radius: 6px;
  transition: background 2s ease !important;
  /* 设置过渡效果 */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #6a99c0, #80b8e6);
}
.el-table__fixed-right {
  height: auto !important;
  bottom: 8px !important;// 这个得自己调试看多少合适
}
 //去掉固定列下方的横线， 样式优化
.el-table__fixed::before, .el-table__fixed-right::before {
  display: none;
}


.flexNoWarp{
  display: flex;
  flex-wrap: nowrap;
}
.noData{
  color: #cecece;
}
.textCenter{
  text-align: center;
}

.errorText {
  color: red;
}

.successText {
  color: green;
}

.warningText {
  color: #999999;
}
.errText {
  font-size: 12px;
  color: #999999;
}